﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace Majoopic.WPFClient.Commands
{
    public static class CommandHelper
    {
        public static void RaiseCommandCanExecuteChanged(ICommand command)
        {
            GenericCommand genericCommand = command as GenericCommand;
            if (genericCommand != null)
            {
                genericCommand.RaiseCanExecuteChanged();
            }
        }
    }
}
